<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="./css/main.css">
  <style>
    
    #div1{
      color: greenyellow;
    }
    .d1{
      color: red;
    }
    .d11{
      color: yellow;
    }
    div{
      width: 100px;
      height: 100px;
      border: 1px dashed blue;
      color: blue;
    }
    div:first-child{
      border: 5px solid red;
    }

    .baiduA{
      color: red;
    }
    .baiduA:active{
      color: green;
    }
    .baiduA:hover{
      color: blue;
    }
    .mUl > li:first-child{
      color: blue;
    }
    .mUl > li:last-child{
      color: red;
    }
    #div1{
      color: blue;
    }

    a[title=新浪]{
      color: blueviolet;
    }
  </style>
</head>
<body>

  

  <div id="div1" style="color: red;font-size: 20px;">我是div</div>
  <div>
    <a href="" class="baiduA" title="百度">跳转到百度</a>
    <a href="" class="baiduA sina" title="新浪">跳转到新浪</a>
    
  </div>


  <ul class="mUl">
    <li>woshi 1</li>
    <li>
      <ul>
        <li>22</li>
        <li>22</li>
        <li>22</li>
        <li>22</li>
      </ul>
    </li>
    <li>woshi 3</li>
    <li>woshi 4</li>
    <li>woshi 5</li>
  </ul>
</body>
</html>